import { ApiProperty } from '@nestjs/swagger';

/*
 * @Author: Grant
 * @Date: 2020-12-26 20:51:26
 * @LastEditTime: 2020-12-26 20:55:37
 * @LastEditors: Grant
 * @FilePath: \nest-crud-basic\src\users\userDto.ts
 */
export class UserDTO {
  @ApiProperty({ example: `Your Name`, description: `username` })
  readonly name: string;
  @ApiProperty({ example: `dasd67af8as9dff89asd8`, description: `id` })
  readonly id: string;
  @ApiProperty({ example: 18691054610, description: `phoneNumber` })
  readonly phoneNumber: number;
}
